<?php
/*
Template Name: mixer
*/
?>
<?php get_header(); ?>

<div id="dialog-confirm" title="Мої замовлення">
   


	
	<style>
		.simpleCart_items table{
			border:1px solid #ccc;
		}
		.simpleCart_items th{
			color: black;
			text-align:left;
			padding:10px 10px;
			border-bottom:1px solid #ccc;
			background: #ededed;
			background: -moz-linear-gradient(top,  #f7f7f7 0%, #ededed 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#ededed));
			background: -webkit-linear-gradient(top,  #f7f7f7 0%,#ededed 100%);
			background: -o-linear-gradient(top,  #f7f7f7 0%,#ededed 100%);
			background: -ms-linear-gradient(top,  #f7f7f7 0%,#ededed 100%);
			background: linear-gradient(top,  #f7f7f7 0%,#ededed 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#ededed',GradientType=0 );
		}
		.simpleCart_items td{
			/*padding:10px 10px;*/
                        padding:10px 10px;
			vertical-align:middle;
			border-bottom:1px solid #ccc;
                       
			
		}
                .item-decrement,   
                .item-increment {
				text-align:center;
                                width:3px;
		}
		.item-name{width:350px;;}
		.item-quantity,
		.item-quantity input{
			width:15px;
			text-align:center;
		}
		.item-price{}
		.item-subtotal{width:100px; color:red; font-weight:bold;}
                
                .item-remove{
                                       font-weight:bold;
                }
	</style>
	<div class="simpleCart_items"></div>
        <div id="totalCartPrice">Загальна сума: <span class="simpleCart_total totalPrice"></span>
 </div>            
    <form  name="forma_mixer" method="post" >         
        <div id="form">
            <fieldset>
                <legend>Особисті дані</legend>  
<table>
    <tr>
<td class="left">Поля позначення <span class="star"> *</span></td>
<td class="right">обов'язкові для заповнення</td>
</tr>
<tr>
<td class="left">ПІБ<span class="star"> * </span>:</td>
<td class="right"><input type="text" name="fio" id="fio" size="33"></td>
</tr>
<tr>
<td class="left">Email<span class="star"> * </span>:</td>
<td class="right"><input type="text" name ="mail" id="mail" size="33"> </td>
</tr>
<tr>
<td class="left">Телефон<span class="star"> * </span>:</td>
<td class="right"><input type="text" name ="phone" id="phone" size="33"> </td>
</tr>     
<tr>
<td class="left">Адрес<span class="star"> * </span>:</td>
<td class="right"><input type="text" name ="adress" id="adress" size="33"></td>
</tr>
<tr>
<td class="left">Поштовий індекс<span class="star"> * </span>:</td>
<td class="right"><input type="text" name ="postIndex" id="postIndex" size="33"></td>
</tr>
<tr>
<td class="left">Коментар до замовлення:</td>
<td class="right"><textarea name="comment" id="comment" cols="25" rows="5"></textarea></td>
</tr>  
</table>
            </fieldset>
  </div>        
 <div id="form2">
     
    <fieldset><legend>Оплата і доставка</legend>     
<table>

<tr>
<td class="left"></td>
<td class="right"><input type="radio" name="pizzasize" value="bank"> банківський переказ
</td>
</tr>
<tr>
<td class="left">Спосіб оплати<span class="star"> * </span>:</td>
<td class="right"><input type="radio" name="pizzasize" value="wm"> webmoney</td>
</tr>
<tr>
<td class="left"></td>
<td class="right"><input type="radio" name="pizzasize" value="postMoney"> поштовий переказ</td>
</tr> 
<tr>
<td class="left">Доставка</td>
<td class="right"><input type="radio" name="postmail" value="bank">Нова пошта<br />
<input type="radio" name="postmail" value="bank">Самовивіз</td>
</tr>      
<tr>
<td class="left"></td>
<td class="right"><a href="javascript:;" class="simpleCart_checkout button orange" id="success">Замовити</a></td>
</tr>   
   
</table>   </fieldset>
            </form>  
        <script>
	simpleCart({
		//Setting the Cart Columns for the sidebar cart display.
		cartColumns: [
			{view:'image' , attr:'image', label: false},
			//Name of the item
			{ attr: "name" , label: "Назва товару" },
			//Quantity displayed as an input
			
                       
                        { attr: "quantity" , label: "Кількість" } ,
                         { view: "decrement" , label: false , text: "-" } ,
                        { view: "increment" , label: false , text: "+" } ,
			//Built in view for a remove link
			{ view:'remove', text: "Видалити", label: false},
			//Price of item
			{ attr: "price", label: "Ціна"},
			//Subtotal of that row (quantity of that item * the price)
			{ attr: "total" , label: "Сума", view: "currency"  },
                       
                       
		],
		cartStyle: "table"
	});
	
</script>

</div>

<?php get_footer(); ?>

